and n, u , and u are the arguments to the most recent ggggllllMMMMaaaappppGGGGrrrriiiidddd1111
1 2
command. _t_y_p_e is GGGGLLLL____PPPPOOOOIIIINNNNTTTTSSSS if _m_o_d_e is GGGGLLLL____PPPPOOOOIIIINNNNTTTT, or GGGGLLLL____LLLLIIIINNNNEEEESSSS if _m_o_d_e is
GGGGLLLL____LLLLIIIINNNNEEEE.
The one absolute numeric requirement is that if i = n, then the value
.
computed from i Wu + u is exactly u .
1 2
In the two-dimensional case, ggggllllEEEEvvvvaaaallllMMMMeeeesssshhhh2222, let
Wu = (u - u )/n
2 1
Wv = (v - v )/m,
2 1
where n, u , u , m, v , and v are the arguments to the most recent
1 2 1 2
ggggllllMMMMaaaappppGGGGrrrriiiidddd2222 command. Then, if _m_o_d_e is GGGGLLLL____FFFFIIIILLLLLLLL, the ggggllllEEEEvvvvaaaallllMMMMeeeesssshhhh2222 command is
equivalent to:
for ( j = _j_1; j < _j_2; j += 1 ) {
glBegin( GL_QUAD_STRIP );
for ( i = _i_1; i <= _i_2; i += 1 ) {
. .
glEvalCoord2( i Wu + u , j Wv + v );
1 1
. .
glEvalCoord2( i Wu + u , (j+1) Wv + v );
1 1
}
glEnd();
}
If _m_o_d_e is GGGGLLLL____LLLLIIIINNNNEEEE, then a call to ggggllllEEEEvvvvaaaallllMMMMeeeesssshhhh2222 is equivalent to:
And finally, if _m_o_d_e is GGGGLLLL____PPPPOOOOIIIINNNNTTTT, then a call to ggggllllEEEEvvvvaaaallllMMMMeeeesssshhhh2222 is
equivalent to:
glBegin( GL_POINTS );
for ( j = _j_1; j <= _j_2; j += 1 )
for ( i = _i_1; i <= _i_2; i += 1 )
. .
glEvalCoord2( i Wu + u , j Wv + v );
1 1
glEnd();
In all three cases, the only absolute numeric requirements are that if
.
i = n, then the value computed from i Wu + u is exactly u , and if
1 2
.
j = m, then the value computed from j Wv + v is exactly v .
1 2
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _m_o_d_e is not an accepted value.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllEEEEvvvvaaaallllMMMMeeeesssshhhh is executed between the
execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.
RRRReeeeaaaalllliiiittttyyyyEEEEnnnnggggiiiinnnneeee, RRRReeeeaaaalllliiiittttyyyyEEEEnnnnggggiiiinnnneeee2222, and VVVVTTTTXXXX systems do not handle 1D maps for